//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain.vo;

public class ExpertProgress {
    private Integer allCount;
    private Integer currentCount;
    private Integer userId;
    private Integer state;
    private String userName;

    public ExpertProgress() {
    }

    public Integer getAllCount() {
        return this.allCount;
    }

    public Integer getCurrentCount() {
        return this.currentCount;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public Integer getState() {
        return this.state;
    }

    public String getUserName() {
        return this.userName;
    }

    public ExpertProgress setAllCount(final Integer allCount) {
        this.allCount = allCount;
        return this;
    }

    public ExpertProgress setCurrentCount(final Integer currentCount) {
        this.currentCount = currentCount;
        return this;
    }

    public ExpertProgress setUserId(final Integer userId) {
        this.userId = userId;
        return this;
    }

    public ExpertProgress setState(final Integer state) {
        this.state = state;
        return this;
    }

    public ExpertProgress setUserName(final String userName) {
        this.userName = userName;
        return this;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ExpertProgress)) {
            return false;
        } else {
            ExpertProgress other = (ExpertProgress)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label71: {
                    Object this$allCount = this.getAllCount();
                    Object other$allCount = other.getAllCount();
                    if (this$allCount == null) {
                        if (other$allCount == null) {
                            break label71;
                        }
                    } else if (this$allCount.equals(other$allCount)) {
                        break label71;
                    }

                    return false;
                }

                Object this$currentCount = this.getCurrentCount();
                Object other$currentCount = other.getCurrentCount();
                if (this$currentCount == null) {
                    if (other$currentCount != null) {
                        return false;
                    }
                } else if (!this$currentCount.equals(other$currentCount)) {
                    return false;
                }

                label57: {
                    Object this$userId = this.getUserId();
                    Object other$userId = other.getUserId();
                    if (this$userId == null) {
                        if (other$userId == null) {
                            break label57;
                        }
                    } else if (this$userId.equals(other$userId)) {
                        break label57;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                Object this$userName = this.getUserName();
                Object other$userName = other.getUserName();
                if (this$userName == null) {
                    if (other$userName == null) {
                        return true;
                    }
                } else if (this$userName.equals(other$userName)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ExpertProgress;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $allCount = this.getAllCount();
        int result1 = result * 59 + ($allCount == null ? 43 : $allCount.hashCode());
        Object $currentCount = this.getCurrentCount();
        result1 = result * 59 + ($currentCount == null ? 43 : $currentCount.hashCode());
        Object $userId = this.getUserId();
        result1 = result * 59 + ($userId == null ? 43 : $userId.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $userName = this.getUserName();
        result1 = result * 59 + ($userName == null ? 43 : $userName.hashCode());
        return result1;
    }

    public String toString() {
        return "ExpertProgress(allCount=" + this.getAllCount() + ", currentCount=" + this.getCurrentCount() + ", userId=" + this.getUserId() + ", state=" + this.getState() + ", userName=" + this.getUserName() + ")";
    }
}
